package com.boarsoft.boar.code.bean.biz;

import java.util.List;

import com.boarsoft.bean.ReplyInfo;
import com.boarsoft.boar.code.entity.BeanPropTree;
import com.boarsoft.common.dao.PagedResult;

public interface BeanPropTreeBiz {

	PagedResult<BeanPropTree> list(String bean, int pageNo, int pageSize);

	/**
	 * bean类型名列表查询：/code/bean/info/find.do
	 */
	ReplyInfo<Object> find(int pageNo, int pageSize);

	String save(BeanPropTree beanInfo);

	List<BeanPropTree> findBeanPropByBeanId(String beanId, String key, String path);

	/**
	 * 删除映射配置：/code/mapping/delete.do
	 */
	void delete(String id);

	List<BeanPropTree> findBeanPropByType(String type);
}
